package com.woniuxy.learnmap.mapper;

import com.woniuxy.commons.dto.RouteDetailDto;
import com.woniuxy.commons.entity.RouteDetail;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Auther: 王敞
 * @E-mail： 365799712@qq.com
 * @Date: 2020/07/16/19:18
 * @Description: 
 */

@Repository
@Mapper
public interface RouteDetailMapper {
    /*
    *
     * @Description:
     * @Param:
     * @return:
     * @Author: 王敞
     * @Date: 19:24 2020/7/16
     **/
    public int addRouteDetail(RouteDetailDto routeDetailDto);
    
    /*
    *
     * @Description: 通过路径id查询相关的路径详情
     * @Param: [routeid]
     * @return: java.util.List<com.woniuxy.commons.dto.RouteDetailDto>
     * @Author: 王敞
     * @Date: 15:46 2020/8/1
     **/
    public List<RouteDetailDto> findRouteDetails(int routeid);

}
